/** \file gu_vertex_signature.h */

#include "gu_vertex_signature.h"

namespace gu{

size_t streamTypeSize(StreamType type)
{
    size_t size = 0;
    switch(type)
    {
        case STREAM_FLOAT4: size = 4 * sizeof(float); break;
        default: break;
    }
    return size;
}


StreamChannelInfo streamChannelInfo(StreamType vertexType, uint32_t offset, const char* name)
{
    StreamChannelInfo s = {vertexType, offset, std::string(name)};
    return s;
}

}